package com.ruoyi.question.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文章表 sys_article
 *
 * @author ruoyi
 * @date 2019-10-17
 */
public class Article extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** id */
	private Long id;
	/** 目录id */
	private Long folderId;
	/** 文章名称 */
	private String title;
	/** 文件内容 */
	private String content;
	/** 浏览数 */
	private Integer countView;
	/** 评论数 */
	private Integer countComment;
	/** 类型：1 正常 2 预览展示概述 3 程序调用处理 */
	private Integer type;
	/** 状态//radio/2,隐藏,1,显示 */
	private String status;
	/** 是否带权限：2 否 1 是 */
	private Integer isComment;
	/** 是否推荐：2 否 1 是 */
	private Integer isRecommend;
	/** 排序 */
	private Integer sort;
	/** 跳转地址 */
	private String jumpUrl;
	/** 图片路径 */
	private String imageUrl;
	/** 网络图片路径 */
	private String imageNetUrl;
	/**  */
	private String fileUrl;
	/**  */
	private String fileName;
	/** 审核状态: 0 待审核 1 通过 2 失败 */
	private Integer approveStatus;
	/** 发布时间 */
	private String publishTime;
	/** 发布者 */
	private String publishUser;
	/** 开始时间 */
	private String startTime;
	/** 结束时间 */
	private String endTime;
	/** 创建时间 */
	private String articleCreateTime;
	/** 创建者 */
	private Integer createId;
	/** 副标题 */
	private String subtitle;
	/** 专利号 */
	private String patentNo;
	/** 专利类型 */
	private String patentType;
	/** 授权日 */
	private String patentDate;
	/** 简介 */
	private String info;
	/** 专家职务 */
	private String expertJob;
	/** 专家单位 */
	private String expertUnit;
	/** 需求领域 */
	private String requireField;

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId()
	{
		return id;
	}
	public void setFolderId(Long folderId)
	{
		this.folderId = folderId;
	}

	public Long getFolderId()
	{
		return folderId;
	}
	public void setTitle(String title)
	{
		this.title = title;
	}

	public String getTitle()
	{
		return title;
	}
	public void setContent(String content)
	{
		this.content = content;
	}

	public String getContent()
	{
		return content;
	}
	public void setCountView(Integer countView)
	{
		this.countView = countView;
	}

	public Integer getCountView()
	{
		return countView;
	}
	public void setCountComment(Integer countComment)
	{
		this.countComment = countComment;
	}

	public Integer getCountComment()
	{
		return countComment;
	}
	public void setType(Integer type)
	{
		this.type = type;
	}

	public Integer getType()
	{
		return type;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}
	public void setIsComment(Integer isComment)
	{
		this.isComment = isComment;
	}

	public Integer getIsComment()
	{
		return isComment;
	}
	public void setIsRecommend(Integer isRecommend)
	{
		this.isRecommend = isRecommend;
	}

	public Integer getIsRecommend()
	{
		return isRecommend;
	}
	public void setSort(Integer sort)
	{
		this.sort = sort;
	}

	public Integer getSort()
	{
		return sort;
	}
	public void setJumpUrl(String jumpUrl)
	{
		this.jumpUrl = jumpUrl;
	}

	public String getJumpUrl()
	{
		return jumpUrl;
	}
	public void setImageUrl(String imageUrl)
	{
		this.imageUrl = imageUrl;
	}

	public String getImageUrl()
	{
		return imageUrl;
	}
	public void setImageNetUrl(String imageNetUrl)
	{
		this.imageNetUrl = imageNetUrl;
	}

	public String getImageNetUrl()
	{
		return imageNetUrl;
	}
	public void setFileUrl(String fileUrl)
	{
		this.fileUrl = fileUrl;
	}

	public String getFileUrl()
	{
		return fileUrl;
	}
	public void setFileName(String fileName)
	{
		this.fileName = fileName;
	}

	public String getFileName()
	{
		return fileName;
	}
	public void setApproveStatus(Integer approveStatus)
	{
		this.approveStatus = approveStatus;
	}

	public Integer getApproveStatus()
	{
		return approveStatus;
	}
	public void setPublishTime(String publishTime)
	{
		this.publishTime = publishTime;
	}

	public String getPublishTime()
	{
		return publishTime;
	}
	public void setPublishUser(String publishUser)
	{
		this.publishUser = publishUser;
	}

	public String getPublishUser()
	{
		return publishUser;
	}
	public void setStartTime(String startTime)
	{
		this.startTime = startTime;
	}

	public String getStartTime()
	{
		return startTime;
	}
	public void setEndTime(String endTime)
	{
		this.endTime = endTime;
	}

	public String getEndTime()
	{
		return endTime;
	}
	public void setArticleCreateTime(String articleCreateTime)
	{
		this.articleCreateTime = articleCreateTime;
	}

	public String getArticleCreateTime()
	{
		return articleCreateTime;
	}
	public void setCreateId(Integer createId)
	{
		this.createId = createId;
	}

	public Integer getCreateId()
	{
		return createId;
	}
	public void setSubtitle(String subtitle)
	{
		this.subtitle = subtitle;
	}

	public String getSubtitle()
	{
		return subtitle;
	}
	public void setPatentNo(String patentNo)
	{
		this.patentNo = patentNo;
	}

	public String getPatentNo()
	{
		return patentNo;
	}
	public void setPatentType(String patentType)
	{
		this.patentType = patentType;
	}

	public String getPatentType()
	{
		return patentType;
	}
	public void setPatentDate(String patentDate)
	{
		this.patentDate = patentDate;
	}

	public String getPatentDate()
	{
		return patentDate;
	}
	public void setInfo(String info)
	{
		this.info = info;
	}

	public String getInfo()
	{
		return info;
	}
	public void setExpertJob(String expertJob)
	{
		this.expertJob = expertJob;
	}

	public String getExpertJob()
	{
		return expertJob;
	}
	public void setExpertUnit(String expertUnit)
	{
		this.expertUnit = expertUnit;
	}

	public String getExpertUnit()
	{
		return expertUnit;
	}
	public void setRequireField(String requireField)
	{
		this.requireField = requireField;
	}

	public String getRequireField()
	{
		return requireField;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("folderId", getFolderId())
				.append("title", getTitle())
				.append("content", getContent())
				.append("countView", getCountView())
				.append("countComment", getCountComment())
				.append("type", getType())
				.append("status", getStatus())
				.append("isComment", getIsComment())
				.append("isRecommend", getIsRecommend())
				.append("sort", getSort())
				.append("jumpUrl", getJumpUrl())
				.append("imageUrl", getImageUrl())
				.append("imageNetUrl", getImageNetUrl())
				.append("fileUrl", getFileUrl())
				.append("fileName", getFileName())
				.append("approveStatus", getApproveStatus())
				.append("publishTime", getPublishTime())
				.append("publishUser", getPublishUser())
				.append("startTime", getStartTime())
				.append("endTime", getEndTime())
				.append("updateTime", getUpdateTime())
				.append("articleCreateTime", getArticleCreateTime())
				.append("createId", getCreateId())
				.append("subtitle", getSubtitle())
				.append("patentNo", getPatentNo())
				.append("patentType", getPatentType())
				.append("patentDate", getPatentDate())
				.append("info", getInfo())
				.append("expertJob", getExpertJob())
				.append("expertUnit", getExpertUnit())
				.append("requireField", getRequireField())
				.toString();
	}
}
